package com.yuexunit.finance.bulkstock.service;

import org.hibernate.criterion.DetachedCriteria;

import com.yuexunit.finance.bulkstock.entity.BulkstockWarningEntity;
import com.yuexunit.inject.annotation.Implements;
import com.yuexunit.page.PageCriteria;
import com.yuexunit.page.PageList;
import com.yuexunit.persist.PersistUtil;


/**
 * @author wenwenlong
 */
@Implements(BulkstockWarningService.class)
public class BulkstockWarningServiceImpl implements BulkstockWarningService{

	@Override
	public PageList<BulkstockWarningEntity> inquirebulkstockWarningPageList(PageCriteria page) {
		DetachedCriteria criteria = DetachedCriteria.forClass(BulkstockWarningEntity.class);
		
		return PersistUtil.get(criteria, page);
	}

}
